package com.caesar.innerclass;

/**
 * @author caesar
 * @date 2025/7/13
 * @Description:
 * @apiNote
 */
public class exer1_1 {
    public static void main(String[] args) {
        Integer i1 = 128;
        Integer i2 = 128;
        int i3 = 128;
        int i4 = 128;
        System.out.println(i1 == i2);//比较地址值 当== 或 != 的左右两边都是包装类对象，不会拆箱的
        System.out.println(i3 == i4);//拆箱后比较
        System.out.println(i1 == i3);
    }
}
